﻿using AutoMapper;
using BCDto.TMS.HorsemanFreightConfiguration;
using BCEntity.TMS.HorsemanFreightConfiguration;

namespace BCService.MapperProfiles.TMS.HorsemanFreightConfiguration
{
    public class HorsemanFreightConfigurationProfile : Profile
    {
        public HorsemanFreightConfigurationProfile()
        {
            CreateMap<HorsemanFreightConfigurationRequestDto, HorsemanFreightConfigurationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<HorsemanFreightConfigurationEntity, HorsemanFreightConfigurationDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<HorsemanFreightConfigurationViewEntity, HorsemanFreightConfigurationViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
